<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>vphy: xvphy_i.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.gif"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">vphy
   </div>
   <div id="projectbrief">Xilinx SDK Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xvphy__i_8h.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">xvphy_i.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Overview</h2>
<div class="textblock"><p>Contains generic APIs that are locally called or used within the VPHY driver. </p>
<dl class="section note"><dt>Note</dt><dd>None.</dd></dl>
<pre>
MODIFICATION HISTORY:</pre><pre>Ver   Who  Date     Changes
<hr/>

Ver   Who  Date     Changes
<hr/>

1.0   gm,  11/09/16 Initial release.
1.4   gm   11/24/16 Made debug log optional (can be disabled via makefile)
</pre> </div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a2d8b041a0730b041e28a4215d771cc04"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy__i_8h.html#a2d8b041a0730b041e28a4215d771cc04">XVphy_Ch2Ids</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, u8 *Id0, u8 *Id1)</td></tr>
<tr class="memdesc:a2d8b041a0730b041e28a4215d771cc04"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function will set the channel IDs to correspond with the supplied channel ID based on the protocol.  <a href="#a2d8b041a0730b041e28a4215d771cc04">More...</a><br /></td></tr>
<tr class="separator:a2d8b041a0730b041e28a4215d771cc04"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaabf7218a74a0949f88a34b0c4a10b34"><td class="memItemLeft" align="right" valign="top"><a class="el" href="xvphy_8h.html#a91d7e180fc85dbee0c2daeb6014597c0">XVphy_SysClkDataSelType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy__i_8h.html#aaabf7218a74a0949f88a34b0c4a10b34">Pll2SysClkData</a> (<a class="el" href="xvphy_8h.html#abd3d50bbadd64dbfb763e97759a02624">XVphy_PllType</a> PllSelect)</td></tr>
<tr class="memdesc:aaabf7218a74a0949f88a34b0c4a10b34"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function will translate from XVphy_PllType to XVphy_SysClkDataSelType.  <a href="#aaabf7218a74a0949f88a34b0c4a10b34">More...</a><br /></td></tr>
<tr class="separator:aaabf7218a74a0949f88a34b0c4a10b34"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d8c6a493924deb1f7d367bc3da8f437"><td class="memItemLeft" align="right" valign="top"><a class="el" href="xvphy_8h.html#a1ff2690f40dd23e3fb4ba55d99a6c45f">XVphy_SysClkOutSelType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy__i_8h.html#a4d8c6a493924deb1f7d367bc3da8f437">Pll2SysClkOut</a> (<a class="el" href="xvphy_8h.html#abd3d50bbadd64dbfb763e97759a02624">XVphy_PllType</a> PllSelect)</td></tr>
<tr class="memdesc:a4d8c6a493924deb1f7d367bc3da8f437"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function will translate from XVphy_PllType to XVphy_SysClkOutSelType.  <a href="#a4d8c6a493924deb1f7d367bc3da8f437">More...</a><br /></td></tr>
<tr class="separator:a4d8c6a493924deb1f7d367bc3da8f437"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3bff8eaf5406aaf024690973700b8308"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy__i_8h.html#a3bff8eaf5406aaf024690973700b8308">XVphy_PllCalculator</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, XVphy_DirectionType Dir, u32 PllClkInFreqHz)</td></tr>
<tr class="memdesc:a3bff8eaf5406aaf024690973700b8308"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function will try to find the necessary PLL divisor values to produce the configured line rate given the specified PLL input frequency.  <a href="#a3bff8eaf5406aaf024690973700b8308">More...</a><br /></td></tr>
<tr class="separator:a3bff8eaf5406aaf024690973700b8308"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab4dbca672563dce677d06d7bbbbe23d9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy__i_8h.html#ab4dbca672563dce677d06d7bbbbe23d9">XVphy_SetRxLpm</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, XVphy_DirectionType Dir, u8 Enable)</td></tr>
<tr class="memdesc:ab4dbca672563dce677d06d7bbbbe23d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function will enable or disable the LPM logic in the Video PHY core.  <a href="#ab4dbca672563dce677d06d7bbbbe23d9">More...</a><br /></td></tr>
<tr class="separator:ab4dbca672563dce677d06d7bbbbe23d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7526bb0de496313d804798dcc1df8cc8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy__i_8h.html#a7526bb0de496313d804798dcc1df8cc8">XVphy_SetTxVoltageSwing</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, u8 Vs)</td></tr>
<tr class="memdesc:a7526bb0de496313d804798dcc1df8cc8"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function will set the TX voltage swing value for a given channel.  <a href="#a7526bb0de496313d804798dcc1df8cc8">More...</a><br /></td></tr>
<tr class="separator:a7526bb0de496313d804798dcc1df8cc8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4071a10340c3cda8cfb3aa3bfb4483e9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy__i_8h.html#a4071a10340c3cda8cfb3aa3bfb4483e9">XVphy_SetTxPreEmphasis</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, u8 Pe)</td></tr>
<tr class="memdesc:a4071a10340c3cda8cfb3aa3bfb4483e9"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function will set the TX pre-emphasis value for a given channel.  <a href="#a4071a10340c3cda8cfb3aa3bfb4483e9">More...</a><br /></td></tr>
<tr class="separator:a4071a10340c3cda8cfb3aa3bfb4483e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5041cead7e1fe927d645c4e681e95837"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy__i_8h.html#a5041cead7e1fe927d645c4e681e95837">XVphy_WriteCfgRefClkSelReg</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId)</td></tr>
<tr class="memdesc:a5041cead7e1fe927d645c4e681e95837"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function writes the current software configuration for the reference clock selections to hardware for the specified quad on all channels.  <a href="#a5041cead7e1fe927d645c4e681e95837">More...</a><br /></td></tr>
<tr class="separator:a5041cead7e1fe927d645c4e681e95837"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76c375e68d3d82cba1c7d8a53c961eb7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy__i_8h.html#a76c375e68d3d82cba1c7d8a53c961eb7">XVphy_CfgPllRefClkSel</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, <a class="el" href="xvphy_8h.html#abaf929d37e9f193c5577e3a08b50c950">XVphy_PllRefClkSelType</a> RefClkSel)</td></tr>
<tr class="memdesc:a76c375e68d3d82cba1c7d8a53c961eb7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configure the PLL reference clock selection for the specified channel(s).  <a href="#a76c375e68d3d82cba1c7d8a53c961eb7">More...</a><br /></td></tr>
<tr class="separator:a76c375e68d3d82cba1c7d8a53c961eb7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3e41b30a437f2c8d8722c780b9cbc798"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy__i_8h.html#a3e41b30a437f2c8d8722c780b9cbc798">XVphy_CfgSysClkDataSel</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, XVphy_DirectionType Dir, <a class="el" href="xvphy_8h.html#a91d7e180fc85dbee0c2daeb6014597c0">XVphy_SysClkDataSelType</a> SysClkDataSel)</td></tr>
<tr class="memdesc:a3e41b30a437f2c8d8722c780b9cbc798"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configure the SYSCLKDATA reference clock selection for the direction.  <a href="#a3e41b30a437f2c8d8722c780b9cbc798">More...</a><br /></td></tr>
<tr class="separator:a3e41b30a437f2c8d8722c780b9cbc798"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3221e83cfbd76a7616329bdff01d517b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy__i_8h.html#a3221e83cfbd76a7616329bdff01d517b">XVphy_CfgSysClkOutSel</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, XVphy_DirectionType Dir, <a class="el" href="xvphy_8h.html#a1ff2690f40dd23e3fb4ba55d99a6c45f">XVphy_SysClkOutSelType</a> SysClkOutSel)</td></tr>
<tr class="memdesc:a3221e83cfbd76a7616329bdff01d517b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configure the SYSCLKOUT reference clock selection for the direction.  <a href="#a3221e83cfbd76a7616329bdff01d517b">More...</a><br /></td></tr>
<tr class="separator:a3221e83cfbd76a7616329bdff01d517b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a918c7447d08e6af827ab03493348b706"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy__i_8h.html#a918c7447d08e6af827ab03493348b706">XVphy_ClkCalcParams</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, XVphy_DirectionType Dir, u32 PllClkInFreqHz)</td></tr>
<tr class="memdesc:a918c7447d08e6af827ab03493348b706"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function will try to find the necessary PLL divisor values to produce the configured line rate given the specified PLL input frequency.  <a href="#a918c7447d08e6af827ab03493348b706">More...</a><br /></td></tr>
<tr class="separator:a918c7447d08e6af827ab03493348b706"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb53c60099495db88a9931980e278bc6"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy__i_8h.html#acb53c60099495db88a9931980e278bc6">XVphy_OutDivReconfig</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, XVphy_DirectionType Dir)</td></tr>
<tr class="memdesc:acb53c60099495db88a9931980e278bc6"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function will set the current output divider configuration over DRP.  <a href="#acb53c60099495db88a9931980e278bc6">More...</a><br /></td></tr>
<tr class="separator:acb53c60099495db88a9931980e278bc6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a609475eec7171bd779b972e31496c717"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy__i_8h.html#a609475eec7171bd779b972e31496c717">XVphy_DirReconfig</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, XVphy_DirectionType Dir)</td></tr>
<tr class="memdesc:a609475eec7171bd779b972e31496c717"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function will set the current RX/TX configuration over DRP.  <a href="#a609475eec7171bd779b972e31496c717">More...</a><br /></td></tr>
<tr class="separator:a609475eec7171bd779b972e31496c717"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2450ff392b3bdafa0b65b549af231a1"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy__i_8h.html#ae2450ff392b3bdafa0b65b549af231a1">XVphy_ClkReconfig</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId)</td></tr>
<tr class="memdesc:ae2450ff392b3bdafa0b65b549af231a1"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function will set the current clocking settings for each channel to hardware based on the configuration stored in the driver's instance.  <a href="#ae2450ff392b3bdafa0b65b549af231a1">More...</a><br /></td></tr>
<tr class="separator:ae2450ff392b3bdafa0b65b549af231a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a742f461cf5a891acfd63d38ad99c068a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy__i_8h.html#a742f461cf5a891acfd63d38ad99c068a">XVphy_GetRcfgChId</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, XVphy_DirectionType Dir, <a class="el" href="xvphy_8h.html#abd3d50bbadd64dbfb763e97759a02624">XVphy_PllType</a> PllType)</td></tr>
<tr class="memdesc:a742f461cf5a891acfd63d38ad99c068a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Obtain the reconfiguration channel ID for given PLL type.  <a href="#a742f461cf5a891acfd63d38ad99c068a">More...</a><br /></td></tr>
<tr class="separator:a742f461cf5a891acfd63d38ad99c068a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e276d9949bad733adaf9cacb6e2d554"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy__i_8h.html#a6e276d9949bad733adaf9cacb6e2d554">XVphy_GetQuadRefClkFreq</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#abaf929d37e9f193c5577e3a08b50c950">XVphy_PllRefClkSelType</a> RefClkType)</td></tr>
<tr class="memdesc:a6e276d9949bad733adaf9cacb6e2d554"><td class="mdescLeft">&#160;</td><td class="mdescRight">Obtain the current reference clock frequency for the quad based on the reference clock type.  <a href="#a6e276d9949bad733adaf9cacb6e2d554">More...</a><br /></td></tr>
<tr class="separator:a6e276d9949bad733adaf9cacb6e2d554"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e1cf75cf2ecce4902aeb0faca3d0c7c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="xvphy_8h.html#a91d7e180fc85dbee0c2daeb6014597c0">XVphy_SysClkDataSelType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy__i_8h.html#a8e1cf75cf2ecce4902aeb0faca3d0c7c">XVphy_GetSysClkDataSel</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, XVphy_DirectionType Dir, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId)</td></tr>
<tr class="memdesc:a8e1cf75cf2ecce4902aeb0faca3d0c7c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Obtain the current [RT]XSYSCLKSEL[0] configuration.  <a href="#a8e1cf75cf2ecce4902aeb0faca3d0c7c">More...</a><br /></td></tr>
<tr class="separator:a8e1cf75cf2ecce4902aeb0faca3d0c7c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa18f0da25042d12e577a5e16d950476"><td class="memItemLeft" align="right" valign="top"><a class="el" href="xvphy_8h.html#a1ff2690f40dd23e3fb4ba55d99a6c45f">XVphy_SysClkOutSelType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy__i_8h.html#afa18f0da25042d12e577a5e16d950476">XVphy_GetSysClkOutSel</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, XVphy_DirectionType Dir, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId)</td></tr>
<tr class="memdesc:afa18f0da25042d12e577a5e16d950476"><td class="mdescLeft">&#160;</td><td class="mdescRight">Obtain the current [RT]XSYSCLKSEL[1] configuration.  <a href="#afa18f0da25042d12e577a5e16d950476">More...</a><br /></td></tr>
<tr class="separator:afa18f0da25042d12e577a5e16d950476"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef25e82d5f217655c1c3c3039c9e1dc3"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy__i_8h.html#aef25e82d5f217655c1c3c3039c9e1dc3">XVphy_IsPllLocked</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId)</td></tr>
<tr class="memdesc:aef25e82d5f217655c1c3c3039c9e1dc3"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function will check the status of a PLL lock on the specified channel.  <a href="#aef25e82d5f217655c1c3c3039c9e1dc3">More...</a><br /></td></tr>
<tr class="separator:aef25e82d5f217655c1c3c3039c9e1dc3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae11d25f939879208256c3e8155f9873c"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy__i_8h.html#ae11d25f939879208256c3e8155f9873c">XVphy_GtUserRdyEnable</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, XVphy_DirectionType Dir, u8 Hold)</td></tr>
<tr class="memdesc:ae11d25f939879208256c3e8155f9873c"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function will reset and enable the Video PHY's user core logic.  <a href="#ae11d25f939879208256c3e8155f9873c">More...</a><br /></td></tr>
<tr class="separator:ae11d25f939879208256c3e8155f9873c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc182ff22a7ec230dc163f90ec5263a3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy__i_8h.html#adc182ff22a7ec230dc163f90ec5263a3">XVphy_MmcmReset</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, XVphy_DirectionType Dir, u8 Hold)</td></tr>
<tr class="memdesc:adc182ff22a7ec230dc163f90ec5263a3"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function will reset the mixed-mode clock manager (MMCM) core.  <a href="#adc182ff22a7ec230dc163f90ec5263a3">More...</a><br /></td></tr>
<tr class="separator:adc182ff22a7ec230dc163f90ec5263a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a096dbcd95256264a53fe8af27c8387fb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy__i_8h.html#a096dbcd95256264a53fe8af27c8387fb">XVphy_MmcmLockedMaskEnable</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, XVphy_DirectionType Dir, u8 Enable)</td></tr>
<tr class="memdesc:a096dbcd95256264a53fe8af27c8387fb"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function will reset the mixed-mode clock manager (MMCM) core.  <a href="#a096dbcd95256264a53fe8af27c8387fb">More...</a><br /></td></tr>
<tr class="separator:a096dbcd95256264a53fe8af27c8387fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a15c1341136ca5bde85ab447ba9e09c56"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy__i_8h.html#a15c1341136ca5bde85ab447ba9e09c56">XVphy_SetBufgGtDiv</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, XVphy_DirectionType Dir, u8 Div)</td></tr>
<tr class="memdesc:a15c1341136ca5bde85ab447ba9e09c56"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function obtains the divider value of the BUFG_GT peripheral.  <a href="#a15c1341136ca5bde85ab447ba9e09c56">More...</a><br /></td></tr>
<tr class="separator:a15c1341136ca5bde85ab447ba9e09c56"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b82d1b302268e36126450121d948505"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy__i_8h.html#a1b82d1b302268e36126450121d948505">XVphy_PowerDownGtPll</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, u8 Hold)</td></tr>
<tr class="memdesc:a1b82d1b302268e36126450121d948505"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function will power down the specified GT PLL.  <a href="#a1b82d1b302268e36126450121d948505">More...</a><br /></td></tr>
<tr class="separator:a1b82d1b302268e36126450121d948505"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a56237326dcb3ef7cb3b346f7bf561486"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy__i_8h.html#a56237326dcb3ef7cb3b346f7bf561486">XVphy_SetIntrHandler</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, <a class="el" href="xvphy_8h.html#a87369c0a51fcd69621ccbbd44b64b470">XVphy_IntrHandlerType</a> HandlerType, <a class="el" href="xvphy_8h.html#a21fe7ac2940a12aa24d265c30d02b1aa">XVphy_IntrHandler</a> CallbackFunc, void *CallbackRef)</td></tr>
<tr class="memdesc:a56237326dcb3ef7cb3b346f7bf561486"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function installs a callback function for the specified handler type.  <a href="#a56237326dcb3ef7cb3b346f7bf561486">More...</a><br /></td></tr>
<tr class="separator:a56237326dcb3ef7cb3b346f7bf561486"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab0c6c186dbb5142d23a6a3b76148c37b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy__i_8h.html#ab0c6c186dbb5142d23a6a3b76148c37b">XVphy_IntrEnable</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, <a class="el" href="xvphy_8h.html#a87369c0a51fcd69621ccbbd44b64b470">XVphy_IntrHandlerType</a> Intr)</td></tr>
<tr class="memdesc:ab0c6c186dbb5142d23a6a3b76148c37b"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function enables interrupts associated with the specified interrupt type.  <a href="#ab0c6c186dbb5142d23a6a3b76148c37b">More...</a><br /></td></tr>
<tr class="separator:ab0c6c186dbb5142d23a6a3b76148c37b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a854725cac309c3302a25dbc29927c9f8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy__i_8h.html#a854725cac309c3302a25dbc29927c9f8">XVphy_IntrDisable</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, <a class="el" href="xvphy_8h.html#a87369c0a51fcd69621ccbbd44b64b470">XVphy_IntrHandlerType</a> Intr)</td></tr>
<tr class="memdesc:a854725cac309c3302a25dbc29927c9f8"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function disabled interrupts associated with the specified interrupt type.  <a href="#a854725cac309c3302a25dbc29927c9f8">More...</a><br /></td></tr>
<tr class="separator:a854725cac309c3302a25dbc29927c9f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a047421b414d103faf15418f136e1d107"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy__i_8h.html#a047421b414d103faf15418f136e1d107">XVphy_CfgErrIntr</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, <a class="el" href="xvphy_8h.html#a63f8585e9f30f40cf292b200922ea058">XVphy_ErrIrqType</a> ErrIrq, u8 Set)</td></tr>
<tr class="memdesc:a047421b414d103faf15418f136e1d107"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function configures the error IRQ register based on the condition to generate an ERR_IRQ event.  <a href="#a047421b414d103faf15418f136e1d107">More...</a><br /></td></tr>
<tr class="separator:a047421b414d103faf15418f136e1d107"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee5af44d484a3efa16330f845a7dc65e"><td class="memItemLeft" align="right" valign="top">u64&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy__i_8h.html#aee5af44d484a3efa16330f845a7dc65e">XVphy_GetPllVcoFreqHz</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, XVphy_DirectionType Dir)</td></tr>
<tr class="memdesc:aee5af44d484a3efa16330f845a7dc65e"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function calculates the PLL VCO operating frequency.  <a href="#aee5af44d484a3efa16330f845a7dc65e">More...</a><br /></td></tr>
<tr class="separator:aee5af44d484a3efa16330f845a7dc65e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="aaabf7218a74a0949f88a34b0c4a10b34"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaabf7218a74a0949f88a34b0c4a10b34">&#9670;&nbsp;</a></span>Pll2SysClkData()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="xvphy_8h.html#a91d7e180fc85dbee0c2daeb6014597c0">XVphy_SysClkDataSelType</a> Pll2SysClkData </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="xvphy_8h.html#abd3d50bbadd64dbfb763e97759a02624">XVphy_PllType</a>&#160;</td>
          <td class="paramname"><em>PllSelect</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function will translate from XVphy_PllType to XVphy_SysClkDataSelType. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The reference clock type based on the PLL selection.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a id="a4d8c6a493924deb1f7d367bc3da8f437"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4d8c6a493924deb1f7d367bc3da8f437">&#9670;&nbsp;</a></span>Pll2SysClkOut()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="xvphy_8h.html#a1ff2690f40dd23e3fb4ba55d99a6c45f">XVphy_SysClkOutSelType</a> Pll2SysClkOut </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="xvphy_8h.html#abd3d50bbadd64dbfb763e97759a02624">XVphy_PllType</a>&#160;</td>
          <td class="paramname"><em>PllSelect</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function will translate from XVphy_PllType to XVphy_SysClkOutSelType. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The reference clock type based on the PLL selection.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a id="a047421b414d103faf15418f136e1d107"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a047421b414d103faf15418f136e1d107">&#9670;&nbsp;</a></span>XVphy_CfgErrIntr()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVphy_CfgErrIntr </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xvphy_8h.html#a63f8585e9f30f40cf292b200922ea058">XVphy_ErrIrqType</a>&#160;</td>
          <td class="paramname"><em>ErrIrq</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Set</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function configures the error IRQ register based on the condition to generate an ERR_IRQ event. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> instance. ErrIrq is the IRQ type as define in XVphy_ErrIrqType Set is the flag to set or clear the ErrIrq param</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_vphy___config.html#a37ebb950e78d0d9bedc29b27ad6619d3">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, and <a class="el" href="xvphy__hw_8h.html#a4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>.</p>

</div>
</div>
<a id="a76c375e68d3d82cba1c7d8a53c961eb7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a76c375e68d3d82cba1c7d8a53c961eb7">&#9670;&nbsp;</a></span>XVphy_CfgPllRefClkSel()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVphy_CfgPllRefClkSel </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a>&#160;</td>
          <td class="paramname"><em>ChId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xvphy_8h.html#abaf929d37e9f193c5577e3a08b50c950">XVphy_PllRefClkSelType</a>&#160;</td>
          <td class="paramname"><em>RefClkSel</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Configure the PLL reference clock selection for the specified channel(s). </p>
<p>This is applied to both direction to the software configuration only.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
    <tr><td class="paramname">ChId</td><td>is the channel ID to operate on. </td></tr>
    <tr><td class="paramname">SysClkDataSel</td><td>is the reference clock selection to configure.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_vphy.html#a2a6689916034622640568869fd0ce86b">XVphy::Quads</a>, and <a class="el" href="xvphy__i_8c.html#a2d8b041a0730b041e28a4215d771cc04">XVphy_Ch2Ids()</a>.</p>

</div>
</div>
<a id="a3e41b30a437f2c8d8722c780b9cbc798"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3e41b30a437f2c8d8722c780b9cbc798">&#9670;&nbsp;</a></span>XVphy_CfgSysClkDataSel()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVphy_CfgSysClkDataSel </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVphy_DirectionType&#160;</td>
          <td class="paramname"><em>Dir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xvphy_8h.html#a91d7e180fc85dbee0c2daeb6014597c0">XVphy_SysClkDataSelType</a>&#160;</td>
          <td class="paramname"><em>SysClkDataSel</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Configure the SYSCLKDATA reference clock selection for the direction. </p>
<p>Same configuration applies to all channels in the quad. This is applied to the software configuration only.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
    <tr><td class="paramname">Dir</td><td>is an indicator for TX or RX. </td></tr>
    <tr><td class="paramname">SysClkDataSel</td><td>is the reference clock selection to configure.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="xvphy__i_8c.html#a2d8b041a0730b041e28a4215d771cc04">XVphy_Ch2Ids()</a>.</p>

</div>
</div>
<a id="a3221e83cfbd76a7616329bdff01d517b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3221e83cfbd76a7616329bdff01d517b">&#9670;&nbsp;</a></span>XVphy_CfgSysClkOutSel()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVphy_CfgSysClkOutSel </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVphy_DirectionType&#160;</td>
          <td class="paramname"><em>Dir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xvphy_8h.html#a1ff2690f40dd23e3fb4ba55d99a6c45f">XVphy_SysClkOutSelType</a>&#160;</td>
          <td class="paramname"><em>SysClkOutSel</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Configure the SYSCLKOUT reference clock selection for the direction. </p>
<p>Same configuration applies to all channels in the quad. This is applied to the software configuration only.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
    <tr><td class="paramname">Dir</td><td>is an indicator for TX or RX. </td></tr>
    <tr><td class="paramname">SysClkOutSel</td><td>is the reference clock selection to configure.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="xvphy__i_8c.html#a2d8b041a0730b041e28a4215d771cc04">XVphy_Ch2Ids()</a>.</p>

</div>
</div>
<a id="a2d8b041a0730b041e28a4215d771cc04"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2d8b041a0730b041e28a4215d771cc04">&#9670;&nbsp;</a></span>XVphy_Ch2Ids()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVphy_Ch2Ids </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a>&#160;</td>
          <td class="paramname"><em>ChId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8 *&#160;</td>
          <td class="paramname"><em>Id0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8 *&#160;</td>
          <td class="paramname"><em>Id1</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function will set the channel IDs to correspond with the supplied channel ID based on the protocol. </p>
<p>HDMI uses 3 channels; DP uses 4. This ID translation is done to allow other functions to operate iteratively over multiple channels.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">ChId</td><td>is the channel ID used to determine the indices. </td></tr>
    <tr><td class="paramname">Id0</td><td>is a pointer to the start channel ID to set. </td></tr>
    <tr><td class="paramname">Id1</td><td>is a pointer to the end channel ID to set.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>The contents of Id0 and Id1 will be set according to ChId. </dd></dl>

<p class="reference">Referenced by <a class="el" href="xvphy_8h.html#ad5d2ef80f68b92db024b3e690d0c410e">XVphy_CfgLineRate()</a>, <a class="el" href="xvphy__i_8h.html#a76c375e68d3d82cba1c7d8a53c961eb7">XVphy_CfgPllRefClkSel()</a>, <a class="el" href="xvphy__i_8h.html#a3e41b30a437f2c8d8722c780b9cbc798">XVphy_CfgSysClkDataSel()</a>, <a class="el" href="xvphy__i_8h.html#a3221e83cfbd76a7616329bdff01d517b">XVphy_CfgSysClkOutSel()</a>, <a class="el" href="xvphy__i_8h.html#a918c7447d08e6af827ab03493348b706">XVphy_ClkCalcParams()</a>, and <a class="el" href="xvphy__i_8h.html#ae2450ff392b3bdafa0b65b549af231a1">XVphy_ClkReconfig()</a>.</p>

</div>
</div>
<a id="a918c7447d08e6af827ab03493348b706"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a918c7447d08e6af827ab03493348b706">&#9670;&nbsp;</a></span>XVphy_ClkCalcParams()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XVphy_ClkCalcParams </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a>&#160;</td>
          <td class="paramname"><em>ChId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVphy_DirectionType&#160;</td>
          <td class="paramname"><em>Dir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>PllClkInFreqHz</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function will try to find the necessary PLL divisor values to produce the configured line rate given the specified PLL input frequency. </p>
<p>This will be done for all channels specified by ChId. This function is a wrapper for XVphy_PllCalculator.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to calculate the PLL values for. </td></tr>
    <tr><td class="paramname">ChId</td><td>is the channel ID to calculate the PLL values for. </td></tr>
    <tr><td class="paramname">Dir</td><td>is an indicator for TX or RX. </td></tr>
    <tr><td class="paramname">PllClkInFreqHz</td><td>is the PLL input frequency on which to base the calculations on. A value of 0 indicates to use the currently configured quad PLL reference clock. A non-zero value indicates to ignore what is currently configured in SW, and use a custom frequency instead.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if valid PLL values were found to satisfy the constraints.</li>
<li>XST_FAILURE otherwise.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>If successful, the channel's PllParams structure will be modified with the valid PLL parameters. </dd></dl>

<p class="reference">References <a class="el" href="xvphy__i_8c.html#a2d8b041a0730b041e28a4215d771cc04">XVphy_Ch2Ids()</a>, and <a class="el" href="xvphy__i_8c.html#a3bff8eaf5406aaf024690973700b8308">XVphy_PllCalculator()</a>.</p>

<p class="reference">Referenced by <a class="el" href="xvphy_8h.html#a54b6787198c16e99851326d82568421d">XVphy_WaitUs()</a>.</p>

</div>
</div>
<a id="ae2450ff392b3bdafa0b65b549af231a1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae2450ff392b3bdafa0b65b549af231a1">&#9670;&nbsp;</a></span>XVphy_ClkReconfig()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XVphy_ClkReconfig </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a>&#160;</td>
          <td class="paramname"><em>ChId</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function will set the current clocking settings for each channel to hardware based on the configuration stored in the driver's instance. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
    <tr><td class="paramname">ChId</td><td>is the channel ID for which to write the settings for.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if the configuration was successful.</li>
<li>XST_FAILURE otherwise.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="xvphy__i_8c.html#a2d8b041a0730b041e28a4215d771cc04">XVphy_Ch2Ids()</a>.</p>

<p class="reference">Referenced by <a class="el" href="xvphy_8h.html#a54b6787198c16e99851326d82568421d">XVphy_WaitUs()</a>.</p>

</div>
</div>
<a id="a609475eec7171bd779b972e31496c717"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a609475eec7171bd779b972e31496c717">&#9670;&nbsp;</a></span>XVphy_DirReconfig()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XVphy_DirReconfig </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a>&#160;</td>
          <td class="paramname"><em>ChId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVphy_DirectionType&#160;</td>
          <td class="paramname"><em>Dir</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function will set the current RX/TX configuration over DRP. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
    <tr><td class="paramname">ChId</td><td>is the channel ID for which to write the settings for. </td></tr>
    <tr><td class="paramname">Dir</td><td>is an indicator for RX or TX.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if the configuration was successful.</li>
<li>XST_FAILURE otherwise.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, and <a class="el" href="struct_x_vphy___config.html#a9bdda7f6198220dbf4e388402d94b93a">XVphy_Config::XcvrType</a>.</p>

<p class="reference">Referenced by <a class="el" href="xvphy_8h.html#a54b6787198c16e99851326d82568421d">XVphy_WaitUs()</a>.</p>

</div>
</div>
<a id="aee5af44d484a3efa16330f845a7dc65e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aee5af44d484a3efa16330f845a7dc65e">&#9670;&nbsp;</a></span>XVphy_GetPllVcoFreqHz()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u64 XVphy_GetPllVcoFreqHz </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a>&#160;</td>
          <td class="paramname"><em>ChId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVphy_DirectionType&#160;</td>
          <td class="paramname"><em>Dir</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function calculates the PLL VCO operating frequency. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
    <tr><td class="paramname">Dir</td><td>is an indicator for TX or RX.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>PLL VCO frequency in Hz</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_vphy.html#a2a6689916034622640568869fd0ce86b">XVphy::Quads</a>.</p>

</div>
</div>
<a id="a6e276d9949bad733adaf9cacb6e2d554"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6e276d9949bad733adaf9cacb6e2d554">&#9670;&nbsp;</a></span>XVphy_GetQuadRefClkFreq()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XVphy_GetQuadRefClkFreq </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xvphy_8h.html#abaf929d37e9f193c5577e3a08b50c950">XVphy_PllRefClkSelType</a>&#160;</td>
          <td class="paramname"><em>RefClkType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Obtain the current reference clock frequency for the quad based on the reference clock type. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
    <tr><td class="paramname">RefClkType</td><td>is the type to obtain the clock selection for.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The current reference clock frequency for the quad for the specified type selection.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a id="a742f461cf5a891acfd63d38ad99c068a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a742f461cf5a891acfd63d38ad99c068a">&#9670;&nbsp;</a></span>XVphy_GetRcfgChId()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> XVphy_GetRcfgChId </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVphy_DirectionType&#160;</td>
          <td class="paramname"><em>Dir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xvphy_8h.html#abd3d50bbadd64dbfb763e97759a02624">XVphy_PllType</a>&#160;</td>
          <td class="paramname"><em>PllType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Obtain the reconfiguration channel ID for given PLL type. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
    <tr><td class="paramname">Dir</td><td>is an indicator for TX or RX. </td></tr>
    <tr><td class="paramname">PllType</td><td>is the PLL type being used by the channel.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The Channel ID to be used for reconfiguration</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a id="a8e1cf75cf2ecce4902aeb0faca3d0c7c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8e1cf75cf2ecce4902aeb0faca3d0c7c">&#9670;&nbsp;</a></span>XVphy_GetSysClkDataSel()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="xvphy_8h.html#a91d7e180fc85dbee0c2daeb6014597c0">XVphy_SysClkDataSelType</a> XVphy_GetSysClkDataSel </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVphy_DirectionType&#160;</td>
          <td class="paramname"><em>Dir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a>&#160;</td>
          <td class="paramname"><em>ChId</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Obtain the current [RT]XSYSCLKSEL[0] configuration. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
    <tr><td class="paramname">Dir</td><td>is an indicator for TX or RX. </td></tr>
    <tr><td class="paramname">ChId</td><td>is the channel ID which to operate on.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The current [RT]XSYSCLKSEL[0] selection.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_vphy___config.html#a37ebb950e78d0d9bedc29b27ad6619d3">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, and <a class="el" href="xvphy__hw_8h.html#a4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>.</p>

<p class="reference">Referenced by <a class="el" href="xvphy_8h.html#acc589d8dad782b38e7da73526c30207b">XVphy_GetPllType()</a>.</p>

</div>
</div>
<a id="afa18f0da25042d12e577a5e16d950476"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afa18f0da25042d12e577a5e16d950476">&#9670;&nbsp;</a></span>XVphy_GetSysClkOutSel()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="xvphy_8h.html#a1ff2690f40dd23e3fb4ba55d99a6c45f">XVphy_SysClkOutSelType</a> XVphy_GetSysClkOutSel </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVphy_DirectionType&#160;</td>
          <td class="paramname"><em>Dir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a>&#160;</td>
          <td class="paramname"><em>ChId</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Obtain the current [RT]XSYSCLKSEL[1] configuration. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
    <tr><td class="paramname">Dir</td><td>is an indicator for TX or RX. </td></tr>
    <tr><td class="paramname">ChId</td><td>is the channel ID which to operate on.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The current [RT]XSYSCLKSEL[1] selection.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_vphy___config.html#a37ebb950e78d0d9bedc29b27ad6619d3">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, and <a class="el" href="xvphy__hw_8h.html#a4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>.</p>

<p class="reference">Referenced by <a class="el" href="xvphy_8h.html#acc589d8dad782b38e7da73526c30207b">XVphy_GetPllType()</a>.</p>

</div>
</div>
<a id="ae11d25f939879208256c3e8155f9873c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae11d25f939879208256c3e8155f9873c">&#9670;&nbsp;</a></span>XVphy_GtUserRdyEnable()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XVphy_GtUserRdyEnable </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a>&#160;</td>
          <td class="paramname"><em>ChId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVphy_DirectionType&#160;</td>
          <td class="paramname"><em>Dir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Hold</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function will reset and enable the Video PHY's user core logic. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
    <tr><td class="paramname">ChId</td><td>is the channel ID which to operate on. </td></tr>
    <tr><td class="paramname">Dir</td><td>is an indicator for TX or RX. </td></tr>
    <tr><td class="paramname">Hold</td><td>is an indicator whether to "hold" the reset if set to 1. If set to 0: reset, then enable.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a id="a854725cac309c3302a25dbc29927c9f8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a854725cac309c3302a25dbc29927c9f8">&#9670;&nbsp;</a></span>XVphy_IntrDisable()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVphy_IntrDisable </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xvphy_8h.html#a87369c0a51fcd69621ccbbd44b64b470">XVphy_IntrHandlerType</a>&#160;</td>
          <td class="paramname"><em>Intr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function disabled interrupts associated with the specified interrupt type. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> instance. </td></tr>
    <tr><td class="paramname">Intr</td><td>is the interrupt type/mask to disable.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_vphy___config.html#a37ebb950e78d0d9bedc29b27ad6619d3">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, and <a class="el" href="xvphy__hw_8h.html#a4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>.</p>

</div>
</div>
<a id="ab0c6c186dbb5142d23a6a3b76148c37b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab0c6c186dbb5142d23a6a3b76148c37b">&#9670;&nbsp;</a></span>XVphy_IntrEnable()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVphy_IntrEnable </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xvphy_8h.html#a87369c0a51fcd69621ccbbd44b64b470">XVphy_IntrHandlerType</a>&#160;</td>
          <td class="paramname"><em>Intr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function enables interrupts associated with the specified interrupt type. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> instance. </td></tr>
    <tr><td class="paramname">Intr</td><td>is the interrupt type/mask to enable.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_vphy___config.html#a37ebb950e78d0d9bedc29b27ad6619d3">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, and <a class="el" href="xvphy__hw_8h.html#a4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>.</p>

</div>
</div>
<a id="aef25e82d5f217655c1c3c3039c9e1dc3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aef25e82d5f217655c1c3c3039c9e1dc3">&#9670;&nbsp;</a></span>XVphy_IsPllLocked()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XVphy_IsPllLocked </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a>&#160;</td>
          <td class="paramname"><em>ChId</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function will check the status of a PLL lock on the specified channel. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
    <tr><td class="paramname">ChId</td><td>is the channel ID which to operate on.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if the specified PLL is locked.</li>
<li>XST_FAILURE otherwise.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a id="a096dbcd95256264a53fe8af27c8387fb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a096dbcd95256264a53fe8af27c8387fb">&#9670;&nbsp;</a></span>XVphy_MmcmLockedMaskEnable()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVphy_MmcmLockedMaskEnable </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVphy_DirectionType&#160;</td>
          <td class="paramname"><em>Dir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Enable</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function will reset the mixed-mode clock manager (MMCM) core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
    <tr><td class="paramname">Dir</td><td>is an indicator for TX or RX. </td></tr>
    <tr><td class="paramname">Enable</td><td>is an indicator whether to "Enable" the locked mask if set to 1. If set to 0: reset, then disable.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a id="adc182ff22a7ec230dc163f90ec5263a3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adc182ff22a7ec230dc163f90ec5263a3">&#9670;&nbsp;</a></span>XVphy_MmcmReset()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVphy_MmcmReset </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVphy_DirectionType&#160;</td>
          <td class="paramname"><em>Dir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Hold</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function will reset the mixed-mode clock manager (MMCM) core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
    <tr><td class="paramname">Dir</td><td>is an indicator for TX or RX. </td></tr>
    <tr><td class="paramname">Hold</td><td>is an indicator whether to "hold" the reset if set to 1. If set to 0: reset, then enable.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">Referenced by <a class="el" href="xvphy_8h.html#a652a8b7de475a3a54ad9a5f6e40ee9d9">XVphy_MmcmStart()</a>.</p>

</div>
</div>
<a id="acb53c60099495db88a9931980e278bc6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acb53c60099495db88a9931980e278bc6">&#9670;&nbsp;</a></span>XVphy_OutDivReconfig()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XVphy_OutDivReconfig </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a>&#160;</td>
          <td class="paramname"><em>ChId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVphy_DirectionType&#160;</td>
          <td class="paramname"><em>Dir</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function will set the current output divider configuration over DRP. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
    <tr><td class="paramname">ChId</td><td>is the channel ID for which to write the settings for. </td></tr>
    <tr><td class="paramname">Dir</td><td>is an indicator for RX or TX.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if the configuration was successful.</li>
<li>XST_FAILURE otherwise.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">Referenced by <a class="el" href="xvphy_8h.html#a54b6787198c16e99851326d82568421d">XVphy_WaitUs()</a>.</p>

</div>
</div>
<a id="a3bff8eaf5406aaf024690973700b8308"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3bff8eaf5406aaf024690973700b8308">&#9670;&nbsp;</a></span>XVphy_PllCalculator()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XVphy_PllCalculator </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a>&#160;</td>
          <td class="paramname"><em>ChId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVphy_DirectionType&#160;</td>
          <td class="paramname"><em>Dir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>PllClkInFreqHz</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function will try to find the necessary PLL divisor values to produce the configured line rate given the specified PLL input frequency. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to calculate the PLL values for. </td></tr>
    <tr><td class="paramname">ChId</td><td>is the channel ID to calculate the PLL values for. </td></tr>
    <tr><td class="paramname">Dir</td><td>is an indicator for TX or RX. </td></tr>
    <tr><td class="paramname">PllClkInFreqHz</td><td>is the PLL input frequency on which to base the calculations on. A value of 0 indicates to use the currently configured quad PLL reference clock. A non-zero value indicates to ignore what is currently configured in SW, and use a custom frequency instead.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if valid PLL values were found to satisfy the constraints.</li>
<li>XST_FAILURE otherwise.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>If successful, the channel's PllParams structure will be modified with the valid PLL parameters. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_vphy.html#a2a6689916034622640568869fd0ce86b">XVphy::Quads</a>.</p>

<p class="reference">Referenced by <a class="el" href="xvphy__i_8h.html#a918c7447d08e6af827ab03493348b706">XVphy_ClkCalcParams()</a>.</p>

</div>
</div>
<a id="a1b82d1b302268e36126450121d948505"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1b82d1b302268e36126450121d948505">&#9670;&nbsp;</a></span>XVphy_PowerDownGtPll()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XVphy_PowerDownGtPll </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a>&#160;</td>
          <td class="paramname"><em>ChId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Hold</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function will power down the specified GT PLL. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
    <tr><td class="paramname">ChId</td><td>is the channel ID to power down the PLL for. </td></tr>
    <tr><td class="paramname">Dir</td><td>is an indicator for TX or RX. </td></tr>
    <tr><td class="paramname">Hold</td><td>is an indicator whether to "hold" the power down if set to 1. If set to 0: power down, then power back up.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a id="a15c1341136ca5bde85ab447ba9e09c56"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a15c1341136ca5bde85ab447ba9e09c56">&#9670;&nbsp;</a></span>XVphy_SetBufgGtDiv()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVphy_SetBufgGtDiv </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVphy_DirectionType&#160;</td>
          <td class="paramname"><em>Dir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Div</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function obtains the divider value of the BUFG_GT peripheral. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">Dir</td><td>is an indicator for TX or RX </td></tr>
    <tr><td class="paramname">Div</td><td>3-bit divider value</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None. </dd></dl>

</div>
</div>
<a id="a56237326dcb3ef7cb3b346f7bf561486"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a56237326dcb3ef7cb3b346f7bf561486">&#9670;&nbsp;</a></span>XVphy_SetIntrHandler()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVphy_SetIntrHandler </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xvphy_8h.html#a87369c0a51fcd69621ccbbd44b64b470">XVphy_IntrHandlerType</a>&#160;</td>
          <td class="paramname"><em>HandlerType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xvphy_8h.html#a21fe7ac2940a12aa24d265c30d02b1aa">XVphy_IntrHandler</a>&#160;</td>
          <td class="paramname"><em>CallbackFunc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>CallbackRef</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function installs a callback function for the specified handler type. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the XVPhy instance. </td></tr>
    <tr><td class="paramname">HandlerType</td><td>is the interrupt handler type which specifies which interrupt event to attach the callback for. </td></tr>
    <tr><td class="paramname">CallbackFunc</td><td>is the address to the callback function. </td></tr>
    <tr><td class="paramname">CallbackRef</td><td>is the user data item that will be passed to the callback function when it is invoked.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a id="ab4dbca672563dce677d06d7bbbbe23d9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab4dbca672563dce677d06d7bbbbe23d9">&#9670;&nbsp;</a></span>XVphy_SetRxLpm()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVphy_SetRxLpm </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a>&#160;</td>
          <td class="paramname"><em>ChId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVphy_DirectionType&#160;</td>
          <td class="paramname"><em>Dir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Enable</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function will enable or disable the LPM logic in the Video PHY core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
    <tr><td class="paramname">ChId</td><td>is the channel ID to operate on. </td></tr>
    <tr><td class="paramname">Dir</td><td>is an indicator for TX or RX. </td></tr>
    <tr><td class="paramname">Enable</td><td>will enable (if 1) or disable (if 0) the LPM logic.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_vphy___config.html#a37ebb950e78d0d9bedc29b27ad6619d3">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, and <a class="el" href="xvphy__hw_8h.html#a4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>.</p>

</div>
</div>
<a id="a4071a10340c3cda8cfb3aa3bfb4483e9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4071a10340c3cda8cfb3aa3bfb4483e9">&#9670;&nbsp;</a></span>XVphy_SetTxPreEmphasis()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVphy_SetTxPreEmphasis </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a>&#160;</td>
          <td class="paramname"><em>ChId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Pe</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function will set the TX pre-emphasis value for a given channel. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
    <tr><td class="paramname">ChId</td><td>is the channel ID to operate on. </td></tr>
    <tr><td class="paramname">Pe</td><td>is the pre-emphasis value to write.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a id="a7526bb0de496313d804798dcc1df8cc8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7526bb0de496313d804798dcc1df8cc8">&#9670;&nbsp;</a></span>XVphy_SetTxVoltageSwing()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVphy_SetTxVoltageSwing </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a>&#160;</td>
          <td class="paramname"><em>ChId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Vs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function will set the TX voltage swing value for a given channel. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
    <tr><td class="paramname">ChId</td><td>is the channel ID to operate on. </td></tr>
    <tr><td class="paramname">Vs</td><td>is the voltage swing value to write.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a id="a5041cead7e1fe927d645c4e681e95837"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5041cead7e1fe927d645c4e681e95837">&#9670;&nbsp;</a></span>XVphy_WriteCfgRefClkSelReg()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XVphy_WriteCfgRefClkSelReg </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function writes the current software configuration for the reference clock selections to hardware for the specified quad on all channels. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="struct_x_vphy.html#a2a6689916034622640568869fd0ce86b">XVphy::Quads</a>, and <a class="el" href="struct_x_vphy___config.html#a9bdda7f6198220dbf4e388402d94b93a">XVphy_Config::XcvrType</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Copyright &copy; 2015 Xilinx Inc. All rights reserved.</li>
  </ul>
</div>
</body>
</html>
